package cn.dkk.behavior_design.responsibility;

/**
 * @author dkk
 * @date 2022/7/25
 * @desc 部门经理
 */
public class GroupLeader extends Handler{

    public GroupLeader() {
        super(0, NUM_ONE);
    }

    @Override
    protected void handleLeave(LeaveRequest leaveRequest) {
        System.out.println("小组长审批"+leaveRequest.getName()+"的请假申请,请假"+leaveRequest.getNum()+"给予同意");
    }

}
